using System.Collections.Generic;
using System;

namespace NFit.Core.Interfaces
{
    /// <summary>
    /// Service contract for specification data source
    /// </summary>
    public interface ISpecificationDataSource
    {
        /// <summary>
        /// The name of the data source
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// The specification reader for the data source
        /// </summary>
        ISpecificationReader Reader { get; set; }

        /// <summary>
        /// Get the list of root specifications
        /// </summary>
        /// <returns></returns>
        IEnumerable<SpecificationDefinition> GetTestDefinitions();


        //ExecutionSummary RunTests();
    }
}